import { http } from '@/api';
import { PORT1 } from '@/api/config/port';
import { MyTaskSearch } from '../interface/myTask';

export const Search = (params: MyTaskSearch) => {
  return http.post<any>(PORT1 + `/admin/violation/tasks`, params);
};

export const Notice = () => {
  return http.get<any>(PORT1 + `/admin/violation/reply/my-task-notice`);
};
